package com.hw.saoauth;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *
 * 配置 hosts
 * 127.0.0.1 oauth-server.com
 * 127.0.0.1 oauth-client.com
 * 认证配置：
 * client_id=HW0000
 * client_secret=aaaa-bbbb-cccc-dddd-eeee
 * scope=userinfo
 * response_type=code
 * redirect_uri=https://sa-token.cc
 *
 * 访问：http://oauth-client.com:9100
 * @author hewei
 */
@Slf4j
@SpringBootApplication
public class Oauth2ClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(Oauth2ClientApplication.class, args);
        log.info("Sa-Token-OAuth2 Client 端启动成功");
    }

}
